๐ Lighting Slap Comp Template for Nuke โ GitHub Release
๐ GitHub: https://github.com/pramodgurugari/Slap-Comp-Template
๐งฉ Template Structure โ Lighting Slap Comp (Nuke)
This template is organized into layered, modular sections, allowing artists to work per-element (FG, MG, BG, FX, etc.) and quickly toggle between raw render vs slap comp output.
๐ 1. Global Flow Control
LGT SWITCH SYSTEM (Core of Template)
Central controller: LGT SWITCH NODE
Drives all LGT_SWITCH## nodes across the script
Modes:
NON_Edited โ Direct render pass-through
Edited โ Full slap comp enabled
๐ This lets artists:
Compare raw render vs comp
Debug lighting quickly
Avoid breaking node trees
๐ฅ 2. Input Layer
A. CG Inputs
Character
Props
Environment
FX *etc.....
B. Live Action Plate
Dedicated Live Plate section
Plate roto support (Plate Rotos)
C. Camera Inputs
Shot camera
Matchmove camera
Reference camera setup
๐งฑ 3. Scene Breakdown (Per-Layer System)
Each major category is split into consistent blocks:
๐ ENV (Environment)
๐ง Character
๐งฑ PROP
โจ FX
๐ซ๏ธ ATMOS
๐ผ๏ธ DMP / Sky
Each section contains:
A / B / C sublayers
Independent processing chains
Individual LGT_SWITCH nodes
Deep + Image workflows
๐ This allows:
Per-element control
Easy isolation
Flexible for Lighting comp
๐ 5. Shadow System
CG Shadow Build
Custom shadow_mask layer
Built using:
Ground shadows
Contact shadows
Hand shadow blocks
๐ Designed for:
Fast shadow integration into plate
Non-physically accurate but visually effective slap comp
๐ 6. Deep Workflow Integration
Heavy use of:
DeepRead
DeepReformat
DeepRecolor
DeepMerge
Purpose:
Maintain depth accuracy
Allow proper layering without holdout issues
Final Conversion:
DeepToImage โ converts to 2D comp
๐ 7. Per-Layer Switching System
Each asset/layer includes:
LGT_SWITCH## node
Function:
Toggle between:
Raw render
Processed slap comp
๐ This is repeated across:
ENV
Character
Props
FX
Atmos
๐จ 8. Lighting & AOV Handling
AOV Contact Sheet System
Custom node:
rm_AOV_Contactsheet
Supports:
Diffuse / Specular / SSS
MultiLight AOVs
Cryptomatte
Normals / Depth / Position
๐ Helps artists:
Debug lighting
Validate render passes quickly
๐ซ๏ธ 9. Atmosphere & Depth Effects
Depth-based blending
Defocus node
Atmos layer integration
Also includes:
Sphere + ScanlineRender setup โ Used for HDRI / environment preview
๐งพ 11. Shot Info Panel
Backdrop includes fields for:
Artist
Shot Name
Sequence
Frame Range
Status
Notes
๐ Designed for:
Dailies submission
Team communication
๐ค 12. Output System
Outputs:
Final slap comp โ Write1
AOV Contact Sheet โ Write2
MultiLight breakdown โ Write3
Settings:
ACES workflow
sRGB preview
Scene linear output
๐ก Key Strengths of This Template
Fully modular per Render Layer
Strong deep compositing pipeline
Centralized switch system
Built-in AOV debugging
Works for:
Live action integration
Full CG shots
โ ๏ธ Important Notes for Artists
Do not delete LGT_SWITCH nodes
Ensure:
Proper AOV exports
Deep data is available (if used)
This is a slap comp, not final comp
โ Best Use Cases
Lighting lookdev
Shot setup
Dailies preview
Fast iterations